const state = {
  merketObj: {
    // 选中的模块
    selectIndex: "",
    selectMoudule: {
      name: "",
      changeSeckill: false, // 是否切换成秒杀样式
      nameColor: "#333333",
      title: "",
      titleColor: "#08a7d1",
      leftHint: "",
      leftHintColor: "#08a7d1",
      rgtHint: "",
      rgtHintColor: "#08a7d1",
      oneImage: "",
      twoImage: ""
    },
    data: [
      {
        name: "大牌惠购",
        changeSeckill: false, // 是否切换成秒杀样式
        nameColor: "#333333",
        title: "汇大牌，享好价",
        titleColor: "#08a7d1",
        leftHint: "汇大牌",
        leftHintColor: "#08a7d1",
        rgtHint: "享好价",
        rgtHintColor: "#08a7d1",
        oneImage: require("../../../assets/config_images/cp.png"),
        twoImage: require("../../../assets/config_images/cp.png")
      },
      {
        name: "大牌惠购",
        changeSeckill: false, // 是否切换成秒杀样式
        nameColor: "#333333",
        title: "汇大牌，享好价",
        titleColor: "#08a7d1",
        leftHint: "汇大牌",
        leftHintColor: "#08a7d1",
        rgtHint: "享好价",
        rgtHintColor: "#08a7d1",
        oneImage: require("../../../assets/config_images/cp.png"),
        twoImage: require("../../../assets/config_images/cp.png")
      }
    ]
  }

}

const mutations = {
  Set_obj: (state, merketObj) => {
    state.merketObj = merketObj;
  }
}

export default {
  namespaced: true,
  state,
  mutations
}
